github.com/hyperion-hyn/go-ethereum@v2.4.0+incompatible/docs/Privacy/Tessera/Configuration/Tessera v0.9 sample settings.md (about) 1 **Changes:** 2 - collapsed server socket definitions into a single property `serverAddress` 3 4 e.g. 5 ```json 6 "serverSocket": { 7 "type":"INET", 8 "port": 9001, 9 "hostName": "http://localhost" 10 }, 11 ``` 12 becomes 13 ``` 14 "serverAddress": "http://localhost:9001", 15 ``` 16 17 18 --- 19 20 **Sample** 21 22 ```json 23 { 24 "useWhiteList": "boolean", 25 26 "jdbc": { 27 "url": "String", 28 "username": "String", 29 "password": "String" 30 }, 31 32 "serverConfigs": [ 33 { 34 "app": "ENCLAVE", // Defines us using a remote enclave, leave out if using built-in enclave 35 "enabled": true, 36 "serverAddress": "http://localhost:9081", //Where to find the remote enclave 37 "communicationType": "REST" 38 }, 39 { 40 "app": "ThirdParty", 41 "enabled": true, 42 "serverAddress": "http://localhost:9081", 43 "bindingAddress": "String - url with port e.g. http://127.0.0.1:9081", 44 "communicationType": "REST" 45 }, 46 47 { 48 "app": "Q2T", 49 "enabled": true, 50 "serverAddress": "unix:/tmp/tm.ipc", 51 "communicationType": "REST" 52 }, 53 54 { 55 "app": "P2P", 56 "enabled": true, 57 "serverAddress": "http://localhost:9001", 58 "bindingAddress": "String - url with port e.g. http://127.0.0.1:9001", 59 "sslConfig": { 60 "tls": "enum STRICT,OFF", 61 "generateKeyStoreIfNotExisted": "boolean", 62 "serverKeyStore": "Path", 63 "serverTlsKeyPath": "Path", 64 "serverTlsCertificatePath": "Path", 65 "serverKeyStorePassword": "String", 66 "serverTrustStore": "Path", 67 "serverTrustCertificates": [ 68 "Path..." 69 ], 70 "serverTrustStorePassword": "String", 71 "serverTrustMode": "Enumeration: CA, TOFU, WHITELIST, CA_OR_TOFU, NONE", 72 "clientKeyStore": "Path", 73 "clientTlsKeyPath": "Path", 74 "clientTlsCertificatePath": "Path", 75 "clientKeyStorePassword": "String", 76 "clientTrustStore": "Path", 77 "clientTrustCertificates": [ 78 "Path..." 79 ], 80 "clientTrustStorePassword": "String", 81 "clientTrustMode": "Enumeration: CA, TOFU, WHITELIST, CA_OR_TOFU, NONE", 82 "knownClientsFile": "Path", 83 "knownServersFile": "Path" 84 }, 85 "communicationType": "REST" 86 } 87 ], 88 89 "peer": [ 90 { 91 "url": "url e.g. http://127.0.0.1:9000/" 92 } 93 ], 94 95 "keys": { 96 "passwords": [ 97 "String..." 98 ], 99 "passwordFile": "Path", 100 "azureKeyVaultConfig": { 101 "url": "Azure Key Vault url" 102 }, 103 "hashicorpKeyVaultConfig": { 104 "url": "Hashicorp Vault url", 105 "approlePath": "String (defaults to 'approle' if not set)", 106 "tlsKeyStorePath": "Path to jks key store", 107 "tlsTrustStorePath": "Path to jks trust store" 108 }, 109 110 "keyData": [ 111 { 112 "config": { 113 "data": { 114 "aopts": { 115 "variant": "Enum : id,d or i", 116 "memory": "int", 117 "iterations": "int", 118 "parallelism": "int" 119 }, 120 "bytes": "String", 121 "snonce": "String", 122 "asalt": "String", 123 "sbox": "String", 124 "password": "String" 125 }, 126 "type": "Enum: argon2sbox or unlocked. If unlocked is defined then config data is required. " 127 }, 128 "privateKey": "String", 129 "privateKeyPath": "Path", 130 "azureVaultPrivateKeyId": "String", 131 "azureVaultPrivateKeyVersion": "String", 132 "publicKey": "String", 133 "publicKeyPath": "Path", 134 "azureVaultPublicKeyId": "String", 135 "azureVaultPublicKeyVersion": "String", 136 "hashicorpVaultSecretEngineName": "String", 137 "hashicorpVaultSecretName": "String", 138 "hashicorpVaultSecretVersion": "Integer (defaults to 0 (latest) if not set)", 139 "hashicorpVaultPrivateKeyId": "String", 140 "hashicorpVaultPublicKeyId": "String" 141 } 142 ] 143 }, 144 145 "alwaysSendTo": [ 146 "String..." 147 ], 148 149 "unixSocketFile": "Path" 150 } 151 ``` 152 153 --- 154 155 **Sample enclave settings** 156 157 ```json 158 { 159 "serverConfigs": [ 160 { 161 "app": "ENCLAVE", 162 "enabled": true, 163 "serverAddress": "http://localhost:9001", 164 "bindingAddress": "String - url with port e.g. http://127.0.0.1:9001", 165 "sslConfig": { 166 "tls": "enum STRICT,OFF", 167 "generateKeyStoreIfNotExisted": "boolean", 168 "serverKeyStore": "Path", 169 "serverTlsKeyPath": "Path", 170 "serverTlsCertificatePath": "Path", 171 "serverKeyStorePassword": "String", 172 "serverTrustStore": "Path", 173 "serverTrustCertificates": [ 174 "Path..." 175 ], 176 "serverTrustStorePassword": "String", 177 "serverTrustMode": "Enumeration: CA, TOFU, WHITELIST, CA_OR_TOFU, NONE", 178 "clientKeyStore": "Path", 179 "clientTlsKeyPath": "Path", 180 "clientTlsCertificatePath": "Path", 181 "clientKeyStorePassword": "String", 182 "clientTrustStore": "Path", 183 "clientTrustCertificates": [ 184 "Path..." 185 ], 186 "clientTrustStorePassword": "String", 187 "clientTrustMode": "Enumeration: CA, TOFU, WHITELIST, CA_OR_TOFU, NONE", 188 "knownClientsFile": "Path", 189 "knownServersFile": "Path" 190 }, 191 "communicationType": "REST" 192 } 193 ], 194 195 "keys": { 196 "passwords": [ 197 "String..." 198 ], 199 "passwordFile": "Path", 200 "azureKeyVaultConfig": { 201 "url": "Azure Key Vault url" 202 }, 203 "hashicorpKeyVaultConfig": { 204 "url": "Hashicorp Vault url", 205 "approlePath": "String (defaults to 'approle' if not set)", 206 "tlsKeyStorePath": "Path to jks key store", 207 "tlsTrustStorePath": "Path to jks trust store" 208 }, 209 210 "keyData": [ 211 { 212 "config": { 213 "data": { 214 "aopts": { 215 "variant": "Enum : id,d or i", 216 "memory": "int", 217 "iterations": "int", 218 "parallelism": "int" 219 }, 220 "bytes": "String", 221 "snonce": "String", 222 "asalt": "String", 223 "sbox": "String", 224 "password": "String" 225 }, 226 "type": "Enum: argon2sbox or unlocked. If unlocked is defined then config data is required. " 227 }, 228 "privateKey": "String", 229 "privateKeyPath": "Path", 230 "azureVaultPrivateKeyId": "String", 231 "azureVaultPrivateKeyVersion": "String", 232 "publicKey": "String", 233 "publicKeyPath": "Path", 234 "azureVaultPublicKeyId": "String", 235 "azureVaultPublicKeyVersion": "String", 236 "hashicorpVaultSecretEngineName": "String", 237 "hashicorpVaultSecretName": "String", 238 "hashicorpVaultSecretVersion": "Integer (defaults to 0 (latest) if not set)", 239 "hashicorpVaultPrivateKeyId": "String", 240 "hashicorpVaultPublicKeyId": "String" 241 } 242 ] 243 }, 244 245 "alwaysSendTo": [ 246 "String..." 247 ] 248 } 249 ```